/*
 * @Author: chentao 294446993@qq.com
 * @Date: 2023-04-12 10:52:19
 * @LastEditors: chentao 294446993@qq.com
 * @LastEditTime: 2023-04-12 11:18:12
 * @FilePath: \blog\Web\WebApplication\ts\base\BaseData.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

class BaseData<T extends Object>{
    data: T
    public static createData<T>(data: T) { }
}

class NumberData<T,D> extends BaseData<T> {
    t: T;
    d: D
    // public static  createData<T>(data: T) {
    //     return data ;
    // }
}
const numberData =  NumberData.createData(222)
console.log(numberData)